package com.songlanyun.modules.platformgivepoint.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.songlanyun.common.drive.IBaseService;
import com.songlanyun.common.utils.PageUtils;
import com.songlanyun.modules.platformgivepoint.entity.PlatformGivePointRecordDto;
import com.songlanyun.modules.platformgivepoint.entity.PlatformGivePointRecordEntity;

import java.math.BigDecimal;
import java.util.Map;

/**
 * 平台赠与用户积分
 *
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2022-12-27 13:48:32
 */
public interface PlatformGivePointRecordService extends IBaseService<Long,PlatformGivePointRecordEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void give(PlatformGivePointRecordDto dto);

    BigDecimal getCanGiveValue();

    BigDecimal getTotalGivePoint();
}

